home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1997 March
/
CHIP Mart 1997.iso
/
prg
/
Vidada
/
DOC
< prev
next >
Wrap
Text File
|
1995-11-22
|
2KB
|
41 lines
Video Adapter Test Program - by Aaron Johnson
This program uses portions of code from John Bridges' VGAKIT, and
Bob Berry's VIDEOID
This program will attempt to test the various video modes of your video
adapter. Basically it will set the mode, then draw moving lines on your
screen until you press the ESC key. Pressing SPACE will reset the lines.
You can run this program three ways:
VIDEO A - will attempt to identify your adapter and tell you the
kind of VGA card & how much memory you have, and what video
modes it thinks you can use. It will then attempt to call
the highest 256-color mode and the highest 16-color mode
available, with the above mentioned drawing routine.
if you don't have a VGA card, it will only identify the adapter
VIDEO M#- where # is the mode # (base 10) to pass to register AX. The program
will tell you what resolution the mode # results in.
VIDEO # - will attempt to set a mode based on an internal mode list.
# is a number taken from the following video mode list:
0. CGA 320 x 200 x 4 1. CGA 640 x 200 x 2
2. EGA 320 x 200 x 16 3. EGA 640 x 350 x 2
4. EGA 640 x 350 x 16 5. MCGA 320 x 200 x 256
6. VGA 640 x 480 x 2 7. VGA 640 x 480 x 16
8. EEGA 800 x 600 x 16 9. EEGA 1024 x 768 x 16
10. SVGA 640 x 400 x 256 11. SVGA 640 x 480 x 256
12. SVGA 800 x 600 x 256 13. SVGA 1024 x 768 x 256
14. *VGA 320 x 400 x 256 15. *VGA 320 x 480 x 256
16. *VGA 360 x 480 x 256 17. *VGA 376 x 564 x 256
18. *VGA 400 x 564 x 256 19. *VGA 400 x 600 x 256
20. *VGA 704 x 528 x 16 21. *VGA 720 x 540 x 16
22. *VGA 736 x 552 x 16 23. *VGA 752 x 564 x 16
24. *VGA 768 x 576 x 16 25. *VGA 784 x 588 x 16
26. *VGA 800 x 600 x 16
* Register Compatible VGA Adapters ONLY!